﻿namespace PLCSharp.IEC61131_3
{
    public struct DINT
    {
        private int value;

        public static implicit operator int(DINT i)
        {
            return i.value;
        }

        public static implicit operator DINT(int s)
        {
            DINT i = new()
            {
                value = s
            };
            return i;
        }
    }
}